package com.example.bookmanage.domain.reader;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.example.bookmanage.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName reader_db
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "reader_db")
@Data
public class Reader extends BaseEntity {
    @TableId(value = "reader_id", type = IdType.ASSIGN_ID)
    private Long readerId;

    private Long cardId;

    private String username;

    private String nickname;

    private String password;

    private String phone;

    private String email;

    private Integer sex;

    private Integer status;
}
